﻿using ChuanYe.CountyFireManagement.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ChuanYe.CountyFireManagement.Api.Models
{
    public class GpsDeviceConfigRequest
    {

        /// <summary>
        /// 主键
        /// </summary>
        public int ConfigId { get; set; }

        /// <summary>
        /// 设备流水号
        /// </summary>
        public int GpsDeviceId { get; set; }

        /// <summary>
        /// 绑定类型
        /// </summary>
        public int BindType { get; set; }

        /// <summary>
        /// 绑定值
        /// </summary>
        public int BindId { get; set; }


        /// <summary>
        /// 选填 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
    }


    public class RemoveGpsDeviceConfigRequest
    {
        /// <summary>
        /// 主键 增加时忽略
        /// </summary>
        public int ConfigId { get; set; }

    }

    public class GpsDeviceConfigShearchRequest : RequestPageBase
    {
        /// <summary>
        /// 0.用户  1.汽车
        /// </summary>
        public int? BindType { get; set; }

        /// <summary>
        ///  GpsDeviceNo GpsDeviceName  BindName
        /// </summary>
        public override string Keyword { get; set; }
    }

    public class GpsDeviceConfigShearchRequest2
    {
        /// <summary>
        /// 0.用户  1.汽车
        /// </summary>
        public int BindType { get; set; }

        /// <summary>
        ///  用户编号 或者 汽车编号
        /// </summary>
        public int BindId { get; set; }
    }


}
